/*
 * 文件名:SnSetup.java
 * 创建时间:2010-10-01
 * 版本:2.0
 * 版权所有:杨涛 walle1027@gmail.com
 */
package com.yangtao.prototype.system.domain;

import com.yangtao.framework.hibernate.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author 代码生成器 v-2.0
 * @version 2.0
 */
@Entity
@Table(name = "SYS_SN_SETUP")
public class SnSetup extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 单据类型
	 */
	@Column(name = "NOTE_TYPE", length = 8)
	private String noteType;
	/**
	 * 单据名称
	 */
	@Column(name = "NOTE_NAME", length = 50)
	private String noteName;
	/**
	 * 时间格式化字符串
	 */
	@Column(name = "DATE_FMT", length = 8)
	private String dateFmt;
	/**
	 * 单据前缀
	 */
	@Column(name = "NOTE_PREFIX", length = 10)
	private String notePrefix;
	/**
	 * 递增步伐
	 */
	@Column(name = "GROW_STEP", length = 4)
	private Integer growStep;
	/**
	 * 流水号长度
	 */
	@Column(name = "SN_LENGTH", length = 4)
	private Integer snLength;
	/**
	 * 左边补齐字符
	 */
	@Column(name = "LEFT_PAD_CHAR", length = 1)
	private String leftPadChar;


	/**
	 * 获取  单据类型
	 *
	 * @return noteType
	 */
	public String getNoteType() {
		return noteType;
	}

	/**
	 * 设置 单据类型
	 *
	 * @param noteType
	 */
	public void setNoteType(String noteType) {
		this.noteType = noteType;
	}

	/**
	 * 获取  单据名称
	 *
	 * @return noteName
	 */
	public String getNoteName() {
		return noteName;
	}

	/**
	 * 设置 单据名称
	 *
	 * @param noteName
	 */
	public void setNoteName(String noteName) {
		this.noteName = noteName;
	}

	/**
	 * 获取  时间格式化字符串
	 *
	 * @return dateFmt
	 */
	public String getDateFmt() {
		return dateFmt;
	}

	/**
	 * 设置 时间格式化字符串
	 *
	 * @param dateFmt
	 */
	public void setDateFmt(String dateFmt) {
		this.dateFmt = dateFmt;
	}

	/**
	 * 获取  单据前缀
	 *
	 * @return notePrefix
	 */
	public String getNotePrefix() {
		return notePrefix;
	}

	/**
	 * 设置 单据前缀
	 *
	 * @param notePrefix
	 */
	public void setNotePrefix(String notePrefix) {
		this.notePrefix = notePrefix;
	}

	/**
	 * 获取  递增步伐
	 *
	 * @return growStep
	 */
	public Integer getGrowStep() {
		return growStep;
	}

	/**
	 * 设置 递增步伐
	 *
	 * @param growStep
	 */
	public void setGrowStep(Integer growStep) {
		this.growStep = growStep;
	}

	/**
	 * 获取  流水号长度
	 *
	 * @return snLength
	 */
	public Integer getSnLength() {
		return snLength;
	}

	/**
	 * 设置 流水号长度
	 *
	 * @param snLength
	 */
	public void setSnLength(Integer snLength) {
		this.snLength = snLength;
	}

	/**
	 * 获取  左边补齐字符
	 *
	 * @return leftPadChar
	 */
	public String getLeftPadChar() {
		return leftPadChar;
	}

	/**
	 * 设置 左边补齐字符
	 *
	 * @param leftPadChar
	 */
	public void setLeftPadChar(String leftPadChar) {
		this.leftPadChar = leftPadChar;
	}


}
